package com.sykj.cloud.activity.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sykj.cloud.common.core.annotation.Excel;
import com.sykj.cloud.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 活动场次对象 activity_session
 *
 * @author mr.will
 * @date 2021-04-01
 */
public class ActivitySession extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 场次ID */
    private String guid;

    /** 活动ID */
    @Excel(name = "活动ID")
    private String activityId;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 截至时间 */
    @Excel(name = "截至时间")
    private String stopTime;

    /** 报名开始时间 */
    @Excel(name = "报名开始时间")
    private String bookingStartTime;

    /** 报名结束时间 */
    @Excel(name = "报名结束时间")
    private String bookingStopTime;

    /** 场次状态 */
    @Excel(name = "场次状态")
    private String sessionStatus;

    /** 最大报名人数 */
    @Excel(name = "最大报名人数")
    private String limitMaxNum;

    /** 单人最大报名数 */
    @Excel(name = "单人最大报名数")
    private String onePersonMaxNum;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deleteTime;

    /** 是否已删除 */
    @Excel(name = "是否已删除")
    private Integer deleted;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String valid;

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid()
    {
        return guid;
    }
    public void setActivityId(String activityId)
    {
        this.activityId = activityId;
    }

    public String getActivityId()
    {
        return activityId;
    }
    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getStartTime()
    {
        return startTime;
    }
    public void setStopTime(String stopTime)
    {
        this.stopTime = stopTime;
    }

    public String getStopTime()
    {
        return stopTime;
    }
    public void setBookingStartTime(String bookingStartTime)
    {
        this.bookingStartTime = bookingStartTime;
    }

    public String getBookingStartTime()
    {
        return bookingStartTime;
    }
    public void setBookingStopTime(String bookingStopTime)
    {
        this.bookingStopTime = bookingStopTime;
    }

    public String getBookingStopTime()
    {
        return bookingStopTime;
    }
    public void setSessionStatus(String sessionStatus)
    {
        this.sessionStatus = sessionStatus;
    }

    public String getSessionStatus()
    {
        return sessionStatus;
    }
    public void setLimitMaxNum(String limitMaxNum)
    {
        this.limitMaxNum = limitMaxNum;
    }

    public String getLimitMaxNum()
    {
        return limitMaxNum;
    }
    public void setOnePersonMaxNum(String onePersonMaxNum)
    {
        this.onePersonMaxNum = onePersonMaxNum;
    }

    public String getOnePersonMaxNum()
    {
        return onePersonMaxNum;
    }
    public void setDeleteBy(String deleteBy)
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy()
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }
    public void setDeleted(Integer deleted)
    {
        this.deleted = deleted;
    }

    public Integer getDeleted()
    {
        return deleted;
    }
    public void setValid(String valid)
    {
        this.valid = valid;
    }

    public String getValid()
    {
        return valid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("activityId", getActivityId())
            .append("startTime", getStartTime())
            .append("stopTime", getStopTime())
            .append("bookingStartTime", getBookingStartTime())
            .append("bookingStopTime", getBookingStopTime())
            .append("sessionStatus", getSessionStatus())
            .append("limitMaxNum", getLimitMaxNum())
            .append("onePersonMaxNum", getOnePersonMaxNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("deleted", getDeleted())
            .append("valid", getValid())
            .append("remark", getRemark())
            .toString();
    }
}
